package com.wisemoresystem.seal.action.log;

import java.util.List;
import java.util.Map;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import com.wisemoresystem.seal.base.action.ProjBaseAction;
import com.wisemoresystem.seal.service.SystemLogService;

/**
 * 系统管理日志查询
 * 
 * @author Administrator
 *
 */
@Controller("ixSystemLog")
@Scope("prototype")
@RequestMapping("/ix/system/log")
public class SystemLogAction extends ProjBaseAction {

	@Autowired
	private SystemLogService service;

	@RequestMapping("/list")
	public ModelAndView list(String srh_bank_id, String srh_name,
			String srh_start, String srh_end) {

		List<Map<String, Object>> list = service.selectVerify(srh_bank_id,
				srh_name, srh_start, srh_end, page);
		ModelAndView mv = new ModelAndView("/jsp/system/list");
		mv.addObject("list", list);
		return mv;
	}
}
